package cn.com.shopec.erp.financing.vo;

import java.util.List;

import cn.com.shopec.erp.common.constant.SZSCMConstant;

/**
 * @ClassName: FreightSettlementVo
 * @Description: 运费结算单虚拟表
 * @author: gaoyaxiong
 * @date: 2013-5-27 下午11:14:13
 */
public class FreightSettlementVo {
	/** id **/
	private String id;
	/** 结算单据号 **/
	private String statementNo;
	/** 物流公司编号 **/
	private String logisticsNo;
	/** 物流公司名称 **/
	private String logisticsName;
	/** 结算开始日期 **/
	private String startDate;
	/** 结算结算时间 **/
	private String endDate;
	/** 结算总金额 **/
	private double statementTotal;
	/** 创建时间 **/
	private String createTime;
	/** 审核状态 **/
	private Integer checkState;
	/** 审核人 **/
	private String checkName;
	/** 审核时间 **/
	private String checkTime;
	/** 结算状态 **/
	private Integer statementState;
	/** 结算时间 **/
	private String statementTime;
	/** 结算人 **/
	private String statementName;
	/** 删除标志 **/
	private Integer deleteFlag;
	/** 运费结算明细 **/
	private List<FreightSettlementDetailVo> fDetailVo;
	/** 开始创建日期 **/
	private String startCreateDate;
	/** 结束创建日期 **/
	private String endCreateDate;
	/** 结算状态名称 **/
	private String statementStateName;
	/** 审核状态名称 **/
	private String checkStateName;
	/** 本期结算金额 **/
	private double nowStatementTotal;
	/** 本期之前结算金额 **/
	private double beforeStatementTotal;
	
	private double actTotal;
	
	
	
	public double getActTotal() {
		return actTotal;
	}

	public void setActTotal(double actTotal) {
		this.actTotal = actTotal;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStatementNo() {
		return statementNo;
	}

	public void setStatementNo(String statementNo) {
		this.statementNo = statementNo;
	}

	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo;
	}

	public String getLogisticsName() {
		return logisticsName;
	}

	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public double getStatementTotal() {
		return statementTotal;
	}

	public void setStatementTotal(double statementTotal) {
		this.statementTotal = statementTotal;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getCheckState() {
		return checkState;
	}

	public void setCheckState(Integer checkState) {
		this.checkState = checkState;
	}

	public String getCheckName() {
		return checkName;
	}

	public void setCheckName(String checkName) {
		this.checkName = checkName;
	}

	public String getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(String checkTime) {
		this.checkTime = checkTime;
	}

	public Integer getStatementState() {
		return statementState;
	}

	public void setStatementState(Integer statementState) {
		this.statementState = statementState;
	}

	public String getStatementTime() {
		return statementTime;
	}

	public void setStatementTime(String statementTime) {
		this.statementTime = statementTime;
	}

	public String getStatementName() {
		return statementName;
	}

	public void setStatementName(String statementName) {
		this.statementName = statementName;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public List<FreightSettlementDetailVo> getfDetailVo() {
		return fDetailVo;
	}

	public void setfDetailVo(List<FreightSettlementDetailVo> fDetailVo) {
		this.fDetailVo = fDetailVo;
	}

	public String getStartCreateDate() {
		return startCreateDate;
	}

	public void setStartCreateDate(String startCreateDate) {
		this.startCreateDate = startCreateDate;
	}

	public String getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(String endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
	
	public String getStatementStateName() {
		switch (this.statementState) {
		case SZSCMConstant.FIN_ST_STA_O:
			statementStateName = "未结算";
			break;
		case SZSCMConstant.FIN_ST_STA_S:
			statementStateName = "已作废";
			break;
		case SZSCMConstant.FIN_ST_STA_T:
			statementStateName = "已结算";
			break;
		default:
			break;
		}
		return statementStateName;
	}


	public String getCheckStateName() {
		switch (this.checkState) {
		case SZSCMConstant.FIN_AU_STA_O:
			checkStateName = "未审核";
			break;
		case SZSCMConstant.FIN_AU_STA_T:
			checkStateName = "已审核";
			break;
		case SZSCMConstant.FIN_AU_THR_T:
			checkStateName = "已拒绝";
			break;
		default:
			break;
		}
		return checkStateName;
	}
	
	public double getNowStatementTotal() {
		return nowStatementTotal;
	}

	public void setNowStatementTotal(double nowStatementTotal) {
		this.nowStatementTotal = nowStatementTotal;
	}

	public double getBeforeStatementTotal() {
		return beforeStatementTotal;
	}

	public void setBeforeStatementTotal(double beforeStatementTotal) {
		this.beforeStatementTotal = beforeStatementTotal;
	}
}
